<?php


namespace App\Models;


use Illuminate\Database\Eloquent\SoftDeletes;

class ImAccountRoles extends BaseModel
{
    use SoftDeletes;
    protected $table = 'im_roles';//用户角色

    //角色权限
    public function roleAuth()
    {
        return $this->hasMany(ImRoleAuth::class, 'role_id', 'id');
    }
}
